package com.gds.wiki.cloud.memberCenter.server.modular.member.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gds.wiki.cloud.memberCenter.client.member.model.MemberInfo;
import com.gds.wiki.cloud.memberCenter.server.modular.member.mapper.MemberInfoMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class MemberInfoService extends ServiceImpl<MemberInfoMapper, MemberInfo> {

    @Autowired
    private MemberInfoMapper memberInfoMapper;

    public List<Map> memberWithInfo(Long id){

        return memberInfoMapper.memberWithInfo(id);

    };
}
